import './api/mock';
import i18n from './i18n';
import api from './api/urls';
export default {
	install: (Vue, jiess) => {
		Object.assign(jiess, { api, i18n })
		//----------------------------------------------
		Object.assign(jiess.components, {
			401: () => import("./components/error/401"),
			404: () => import("./components/error/404"),
			500: () => import("./components/error/500"),
			JsContainer: () => require("../base/JsContainer").default,
			Home: import("./components/Home")
		})
		//----------------------------------------------
		const files = require.context('./module', false, /\.js$/)
		files.keys().forEach(key => files(key))
	}
}
